// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import fastClick from 'fastclick' // 针对点击事件,在浏览器中会有延迟300s,针对这个问题用插件解决,快速点击事件
import VueAwesomeSwiper from 'vue-awesome-swiper'
import axios from 'axios'

import 'styles/reset.css' // 引用css公用样式
import 'styles/border.css'// 针对1像素,对2X,3X手机屏幕的样式适配问题
import 'styles/iconfont.css' // webpack.base 配置'styles':resolve('src/assets/style') // 手动自定义文件快捷方式
import 'swiper/dist/css/swiper.css'

Vue.config.productionTip = false
fastClick.attach(document.body)
Vue.use(VueAwesomeSwiper)
Vue.prototype.$axios = axios

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
